package com.fx.mapper;

import com.fx.entity.SysRes;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * @Auther: EDZ
 * @Date: 2018-6-13 17:10:
 * @Email: 你的邮箱
 * 概要说明：该接口干嘛用的
 **/
@Mapper
@Component
public interface SysResMapper {
    List<SysRes> getResListByRoleId(String roleId);

    List<SysRes> queryListData(Map<String, Object> param);

    int queryCount(Map<String, Object> param);

    int save(SysRes sysRes);

    int batchRemove(String[] ids);

    int updateById(SysRes sysRes);

    SysRes queryById(String id);
}
